30278d1f59939822fc9e634c99b9f6513b95ad10,plugins/migration/source/jetbrains/mps/migration20/MigrationHelper.java,MigrationHelper,migrate,#,31

Before Change


          continue;
        }

        if (showMessageBefore(stage)) return;

        final Runnable stageRunnable = new StageExecutor(stage, mpsProject);
        if (stage.needsCommand()) {
          ModelAccess.instance().runWriteActionInCommand(stageRunnable);
        } else {
          stageRunnable.run();
        }

        if (showMessageAfter(stage)){
          msComponent.setMigrationState(next);
        }
      }

After Change


          continue;
        }

        if (!showMessageBefore(stage)) return;

        final Runnable stageRunnable = new StageExecutor(stage, mpsProject);
        if (stage.needsCommand()) {
          ModelAccess.instance().runWriteActionInCommand(stageRunnable);
        } else {
          stageRunnable.run();
        }

        if (!showMessageAfter(stage)) return;

        msComponent.setMigrationState(next);
      }